/**
 * 
 */
package com.pactera.integral.service;

import java.util.Map;

import org.springframework.data.domain.Pageable;

import com.pactera.integral.bean.UserBean;
import com.pactera.integral.common.repository.QueryResult;
import com.pactera.integral.common.repository.ResultMap;
import com.pactera.integral.entity.User;

/**
 * @author TempUser
 *
 */
public interface UserService {
	
	/**
	 * 用户明细
	 * @param userId
	 * @return UserBean
	 */
	UserBean getUser(String userId);

	/**
	 * 删除用户
	 * @param userId
	 * @return Boolean
	 */
	Boolean deleteUser(String userId);

	/**
	 * 添加或修改用�?
	 * @param user
	 * @return Boolean
	 */
	Boolean saveUser(User user);
	
	/**
	 * 用户列表
	 * @param parameterMap
	 * @param page
	 * @return QueryResult<ResultMap<String, Object>>
	 */
	QueryResult<ResultMap<String, Object>> searchUserList(Map<String, Object> parameterMap, Pageable page);
	
}